<?=json_encode([
    'ip' => $this->model_pool->getIP(),
    'vlan_id' => ($this->model_pool->getVlanID() == -1) ? "" : $this->model_pool->getVlanID(),
    'vlan_pc_id' => ($this->model_pool->getVlanPcID() == -1) ? "" : $this->model_pool->getVlanPcID()
]); ?>